package com.kgc.springboot.hangduo.service;

import com.github.pagehelper.PageInfo;
import com.kgc.springboot.hangduo.pojo.Clause;

import java.util.List;

/**
 * @author: CBH
 * @date: 2020/12/27 14:25
 * @description:
 */
public interface ClauseService {
    PageInfo<Clause> selectAll();
    public List<Clause>selectByCondition(String condition);
    public PageInfo<Clause> searchByCondition(Integer lawId,String clauseNum,String keyWord,Integer pageNum,Integer pageSize);
    public Integer insertClause(Clause clause);
    public Integer updateClauseSelective(Clause clause);
    public Integer delClauseById(Integer id);
    public Clause selectById(Integer id);
}
